<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="admin_directory_v1.html">Admin SDK API</a> . <a href="admin_directory_v1.resources.html">resources</a> . <a href="admin_directory_v1.resources.buildings.html">buildings</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#delete">delete(customer, buildingId, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a building.</p>
<p class="toc_element">
  <code><a href="#get">get(customer, buildingId, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves a building.</p>
<p class="toc_element">
  <code><a href="#insert">insert(customer, body=None, coordinatesSource=None, x__xgafv=None)</a></code></p>
<p class="firstline">Inserts a building.</p>
<p class="toc_element">
  <code><a href="#list">list(customer, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves a list of buildings for an account.</p>
<p class="toc_element">
  <code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
  <code><a href="#patch">patch(customer, buildingId, body=None, coordinatesSource=None, x__xgafv=None)</a></code></p>
<p class="firstline">Patches a building.</p>
<p class="toc_element">
  <code><a href="#update">update(customer, buildingId, body=None, coordinatesSource=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates a building.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="delete">delete(customer, buildingId, x__xgafv=None)</code>
  <pre>Deletes a building.

Args:
  customer: string, The unique ID for the customer&#x27;s Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account&#x27;s customer ID. (required)
  buildingId: string, The id of the building to delete. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format
</pre>
</div>

<div class="method">
    <code class="details" id="get">get(customer, buildingId, x__xgafv=None)</code>
  <pre>Retrieves a building.

Args:
  customer: string, The unique ID for the customer&#x27;s Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account&#x27;s customer ID. (required)
  buildingId: string, The unique ID of the building to retrieve. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Public API: Resources.buildings
  &quot;address&quot;: { # Public API: Resources.buildings # The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are required.
    &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address.
      &quot;A String&quot;,
    ],
    &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region.
    &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known).
    &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
    &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address.
    &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address.
    &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address.
  },
  &quot;buildingId&quot;: &quot;A String&quot;, # Unique identifier for the building. The maximum length is 100 characters.
  &quot;buildingName&quot;: &quot;A String&quot;, # The building name as seen by users in Calendar. Must be unique for the customer. For example, &quot;NYC-CHEL&quot;. The maximum length is 100 characters.
  &quot;coordinates&quot;: { # Public API: Resources.buildings # The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
    &quot;latitude&quot;: 3.14, # Latitude in decimal degrees.
    &quot;longitude&quot;: 3.14, # Longitude in decimal degrees.
  },
  &quot;description&quot;: &quot;A String&quot;, # A brief description of the building. For example, &quot;Chelsea Market&quot;.
  &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
  &quot;floorNames&quot;: [ # The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [&quot;B2&quot;, &quot;B1&quot;, &quot;L&quot;, &quot;1&quot;, &quot;2&quot;, &quot;2M&quot;, &quot;3&quot;, &quot;PH&quot;] Must contain at least one entry.
    &quot;A String&quot;,
  ],
  &quot;kind&quot;: &quot;admin#directory#resources#buildings#Building&quot;, # Kind of resource this is.
}</pre>
</div>

<div class="method">
    <code class="details" id="insert">insert(customer, body=None, coordinatesSource=None, x__xgafv=None)</code>
  <pre>Inserts a building.

Args:
  customer: string, The unique ID for the customer&#x27;s Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account&#x27;s customer ID. (required)
  body: object, The request body.
    The object takes the form of:

{ # Public API: Resources.buildings
  &quot;address&quot;: { # Public API: Resources.buildings # The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are required.
    &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address.
      &quot;A String&quot;,
    ],
    &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region.
    &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known).
    &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
    &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address.
    &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address.
    &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address.
  },
  &quot;buildingId&quot;: &quot;A String&quot;, # Unique identifier for the building. The maximum length is 100 characters.
  &quot;buildingName&quot;: &quot;A String&quot;, # The building name as seen by users in Calendar. Must be unique for the customer. For example, &quot;NYC-CHEL&quot;. The maximum length is 100 characters.
  &quot;coordinates&quot;: { # Public API: Resources.buildings # The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
    &quot;latitude&quot;: 3.14, # Latitude in decimal degrees.
    &quot;longitude&quot;: 3.14, # Longitude in decimal degrees.
  },
  &quot;description&quot;: &quot;A String&quot;, # A brief description of the building. For example, &quot;Chelsea Market&quot;.
  &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
  &quot;floorNames&quot;: [ # The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [&quot;B2&quot;, &quot;B1&quot;, &quot;L&quot;, &quot;1&quot;, &quot;2&quot;, &quot;2M&quot;, &quot;3&quot;, &quot;PH&quot;] Must contain at least one entry.
    &quot;A String&quot;,
  ],
  &quot;kind&quot;: &quot;admin#directory#resources#buildings#Building&quot;, # Kind of resource this is.
}

  coordinatesSource: string, Source from which Building.coordinates are derived.
    Allowed values
      CLIENT_SPECIFIED - Building.coordinates are set to the coordinates included in the request.
      RESOLVED_FROM_ADDRESS - Building.coordinates are automatically populated based on the postal address.
      SOURCE_UNSPECIFIED - Defaults to `RESOLVED_FROM_ADDRESS` if postal address is provided. Otherwise, defaults to `CLIENT_SPECIFIED` if coordinates are provided.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Public API: Resources.buildings
  &quot;address&quot;: { # Public API: Resources.buildings # The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are required.
    &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address.
      &quot;A String&quot;,
    ],
    &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region.
    &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known).
    &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
    &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address.
    &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address.
    &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address.
  },
  &quot;buildingId&quot;: &quot;A String&quot;, # Unique identifier for the building. The maximum length is 100 characters.
  &quot;buildingName&quot;: &quot;A String&quot;, # The building name as seen by users in Calendar. Must be unique for the customer. For example, &quot;NYC-CHEL&quot;. The maximum length is 100 characters.
  &quot;coordinates&quot;: { # Public API: Resources.buildings # The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
    &quot;latitude&quot;: 3.14, # Latitude in decimal degrees.
    &quot;longitude&quot;: 3.14, # Longitude in decimal degrees.
  },
  &quot;description&quot;: &quot;A String&quot;, # A brief description of the building. For example, &quot;Chelsea Market&quot;.
  &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
  &quot;floorNames&quot;: [ # The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [&quot;B2&quot;, &quot;B1&quot;, &quot;L&quot;, &quot;1&quot;, &quot;2&quot;, &quot;2M&quot;, &quot;3&quot;, &quot;PH&quot;] Must contain at least one entry.
    &quot;A String&quot;,
  ],
  &quot;kind&quot;: &quot;admin#directory#resources#buildings#Building&quot;, # Kind of resource this is.
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(customer, maxResults=None, pageToken=None, x__xgafv=None)</code>
  <pre>Retrieves a list of buildings for an account.

Args:
  customer: string, The unique ID for the customer&#x27;s Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account&#x27;s customer ID. (required)
  maxResults: integer, Maximum number of results to return.
  pageToken: string, Token to specify the next page in the list.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Public API: Resources.buildings
  &quot;buildings&quot;: [ # The Buildings in this page of results.
    { # Public API: Resources.buildings
      &quot;address&quot;: { # Public API: Resources.buildings # The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are required.
        &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address.
          &quot;A String&quot;,
        ],
        &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region.
        &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known).
        &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
        &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address.
        &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address.
        &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address.
      },
      &quot;buildingId&quot;: &quot;A String&quot;, # Unique identifier for the building. The maximum length is 100 characters.
      &quot;buildingName&quot;: &quot;A String&quot;, # The building name as seen by users in Calendar. Must be unique for the customer. For example, &quot;NYC-CHEL&quot;. The maximum length is 100 characters.
      &quot;coordinates&quot;: { # Public API: Resources.buildings # The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
        &quot;latitude&quot;: 3.14, # Latitude in decimal degrees.
        &quot;longitude&quot;: 3.14, # Longitude in decimal degrees.
      },
      &quot;description&quot;: &quot;A String&quot;, # A brief description of the building. For example, &quot;Chelsea Market&quot;.
      &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
      &quot;floorNames&quot;: [ # The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [&quot;B2&quot;, &quot;B1&quot;, &quot;L&quot;, &quot;1&quot;, &quot;2&quot;, &quot;2M&quot;, &quot;3&quot;, &quot;PH&quot;] Must contain at least one entry.
        &quot;A String&quot;,
      ],
      &quot;kind&quot;: &quot;admin#directory#resources#buildings#Building&quot;, # Kind of resource this is.
    },
  ],
  &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
  &quot;kind&quot;: &quot;admin#directory#resources#buildings#buildingsList&quot;, # Kind of resource this is.
  &quot;nextPageToken&quot;: &quot;A String&quot;, # The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
}</pre>
</div>

<div class="method">
    <code class="details" id="list_next">list_next()</code>
  <pre>Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call &#x27;execute()&#x27; on to request the next
          page. Returns None if there are no more items in the collection.
        </pre>
</div>

<div class="method">
    <code class="details" id="patch">patch(customer, buildingId, body=None, coordinatesSource=None, x__xgafv=None)</code>
  <pre>Patches a building.

Args:
  customer: string, The unique ID for the customer&#x27;s Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account&#x27;s customer ID. (required)
  buildingId: string, The id of the building to update. (required)
  body: object, The request body.
    The object takes the form of:

{ # Public API: Resources.buildings
  &quot;address&quot;: { # Public API: Resources.buildings # The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are required.
    &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address.
      &quot;A String&quot;,
    ],
    &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region.
    &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known).
    &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
    &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address.
    &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address.
    &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address.
  },
  &quot;buildingId&quot;: &quot;A String&quot;, # Unique identifier for the building. The maximum length is 100 characters.
  &quot;buildingName&quot;: &quot;A String&quot;, # The building name as seen by users in Calendar. Must be unique for the customer. For example, &quot;NYC-CHEL&quot;. The maximum length is 100 characters.
  &quot;coordinates&quot;: { # Public API: Resources.buildings # The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
    &quot;latitude&quot;: 3.14, # Latitude in decimal degrees.
    &quot;longitude&quot;: 3.14, # Longitude in decimal degrees.
  },
  &quot;description&quot;: &quot;A String&quot;, # A brief description of the building. For example, &quot;Chelsea Market&quot;.
  &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
  &quot;floorNames&quot;: [ # The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [&quot;B2&quot;, &quot;B1&quot;, &quot;L&quot;, &quot;1&quot;, &quot;2&quot;, &quot;2M&quot;, &quot;3&quot;, &quot;PH&quot;] Must contain at least one entry.
    &quot;A String&quot;,
  ],
  &quot;kind&quot;: &quot;admin#directory#resources#buildings#Building&quot;, # Kind of resource this is.
}

  coordinatesSource: string, Source from which Building.coordinates are derived.
    Allowed values
      CLIENT_SPECIFIED - Building.coordinates are set to the coordinates included in the request.
      RESOLVED_FROM_ADDRESS - Building.coordinates are automatically populated based on the postal address.
      SOURCE_UNSPECIFIED - Defaults to `RESOLVED_FROM_ADDRESS` if postal address is provided. Otherwise, defaults to `CLIENT_SPECIFIED` if coordinates are provided.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Public API: Resources.buildings
  &quot;address&quot;: { # Public API: Resources.buildings # The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are required.
    &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address.
      &quot;A String&quot;,
    ],
    &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region.
    &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known).
    &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
    &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address.
    &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address.
    &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address.
  },
  &quot;buildingId&quot;: &quot;A String&quot;, # Unique identifier for the building. The maximum length is 100 characters.
  &quot;buildingName&quot;: &quot;A String&quot;, # The building name as seen by users in Calendar. Must be unique for the customer. For example, &quot;NYC-CHEL&quot;. The maximum length is 100 characters.
  &quot;coordinates&quot;: { # Public API: Resources.buildings # The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
    &quot;latitude&quot;: 3.14, # Latitude in decimal degrees.
    &quot;longitude&quot;: 3.14, # Longitude in decimal degrees.
  },
  &quot;description&quot;: &quot;A String&quot;, # A brief description of the building. For example, &quot;Chelsea Market&quot;.
  &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
  &quot;floorNames&quot;: [ # The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [&quot;B2&quot;, &quot;B1&quot;, &quot;L&quot;, &quot;1&quot;, &quot;2&quot;, &quot;2M&quot;, &quot;3&quot;, &quot;PH&quot;] Must contain at least one entry.
    &quot;A String&quot;,
  ],
  &quot;kind&quot;: &quot;admin#directory#resources#buildings#Building&quot;, # Kind of resource this is.
}</pre>
</div>

<div class="method">
    <code class="details" id="update">update(customer, buildingId, body=None, coordinatesSource=None, x__xgafv=None)</code>
  <pre>Updates a building.

Args:
  customer: string, The unique ID for the customer&#x27;s Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account&#x27;s customer ID. (required)
  buildingId: string, The id of the building to update. (required)
  body: object, The request body.
    The object takes the form of:

{ # Public API: Resources.buildings
  &quot;address&quot;: { # Public API: Resources.buildings # The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are required.
    &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address.
      &quot;A String&quot;,
    ],
    &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region.
    &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known).
    &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
    &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address.
    &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address.
    &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address.
  },
  &quot;buildingId&quot;: &quot;A String&quot;, # Unique identifier for the building. The maximum length is 100 characters.
  &quot;buildingName&quot;: &quot;A String&quot;, # The building name as seen by users in Calendar. Must be unique for the customer. For example, &quot;NYC-CHEL&quot;. The maximum length is 100 characters.
  &quot;coordinates&quot;: { # Public API: Resources.buildings # The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
    &quot;latitude&quot;: 3.14, # Latitude in decimal degrees.
    &quot;longitude&quot;: 3.14, # Longitude in decimal degrees.
  },
  &quot;description&quot;: &quot;A String&quot;, # A brief description of the building. For example, &quot;Chelsea Market&quot;.
  &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
  &quot;floorNames&quot;: [ # The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [&quot;B2&quot;, &quot;B1&quot;, &quot;L&quot;, &quot;1&quot;, &quot;2&quot;, &quot;2M&quot;, &quot;3&quot;, &quot;PH&quot;] Must contain at least one entry.
    &quot;A String&quot;,
  ],
  &quot;kind&quot;: &quot;admin#directory#resources#buildings#Building&quot;, # Kind of resource this is.
}

  coordinatesSource: string, Source from which Building.coordinates are derived.
    Allowed values
      CLIENT_SPECIFIED - Building.coordinates are set to the coordinates included in the request.
      RESOLVED_FROM_ADDRESS - Building.coordinates are automatically populated based on the postal address.
      SOURCE_UNSPECIFIED - Defaults to `RESOLVED_FROM_ADDRESS` if postal address is provided. Otherwise, defaults to `CLIENT_SPECIFIED` if coordinates are provided.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Public API: Resources.buildings
  &quot;address&quot;: { # Public API: Resources.buildings # The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are required.
    &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address.
      &quot;A String&quot;,
    ],
    &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region.
    &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known).
    &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
    &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address.
    &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address.
    &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address.
  },
  &quot;buildingId&quot;: &quot;A String&quot;, # Unique identifier for the building. The maximum length is 100 characters.
  &quot;buildingName&quot;: &quot;A String&quot;, # The building name as seen by users in Calendar. Must be unique for the customer. For example, &quot;NYC-CHEL&quot;. The maximum length is 100 characters.
  &quot;coordinates&quot;: { # Public API: Resources.buildings # The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
    &quot;latitude&quot;: 3.14, # Latitude in decimal degrees.
    &quot;longitude&quot;: 3.14, # Longitude in decimal degrees.
  },
  &quot;description&quot;: &quot;A String&quot;, # A brief description of the building. For example, &quot;Chelsea Market&quot;.
  &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
  &quot;floorNames&quot;: [ # The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [&quot;B2&quot;, &quot;B1&quot;, &quot;L&quot;, &quot;1&quot;, &quot;2&quot;, &quot;2M&quot;, &quot;3&quot;, &quot;PH&quot;] Must contain at least one entry.
    &quot;A String&quot;,
  ],
  &quot;kind&quot;: &quot;admin#directory#resources#buildings#Building&quot;, # Kind of resource this is.
}</pre>
</div>

</body></html>